package likou;

/**
 * @author: Tangxz
 * @email: 1171702529@qq.com
 * @cate: 2021/09/23 09:20
 */
public class _326 {
    public static void main(String[] args) {
        _326 one = new _326();
        System.out.println(one.isPowerOfThree(9));
    }
    private boolean isPowerOfThree(int n) {
        return n > 0 && 1162261467 % n == 0;
    }
}
